Skip to content

Add 7.1 migration guide#2774

Merged
predic8 merged 12 commits into
masterfrom
7-1-migration-guide
Feb 13, 2026
Merged

Add 7.1 migration guide#2774
predic8 merged 12 commits into
masterfrom
7-1-migration-guide

Conversation

@christiangoerdes

@christiangoerdes christiangoerdes commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Documentation
    • Added a Membrane 7.1 migration guide with expanded narrative, migration targets, and strategy
    • Reorganized sections for removed interceptors/plugins and provided updated replacements
    • Included extensive before/after YAML examples for many elements and element-level inline configuration patterns
    • Documented public renames: headerExtractor→header, queryParamExtractor→query, fileUserDataProvider→htpasswdFileProvider, htpasswdPath→location, specs→openapi
    • Clarified single-attribute inline-list syntax and choose/chain ordering changes

@membrane-ci-server

Copy link
Copy Markdown

This pull request needs "/ok-to-test" from an authorized committer.

@coderabbitai

coderabbitai Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Updated the migration guide to cover Membrane 7.1: document removals and renames, YAML/OpenAPI key changes, element-level inline configuration, chain/choose behavior, and many before/after YAML examples for migrating configurations.

Changes

Cohort / File(s) Summary
Migration Guide
docs/MIGRATION-GUIDE.md
Expanded "Migrate to Membrane 7.1": added migration narrative and strategy, documented removed interceptors/plugins, renamed public config keys (headerExtractorheader, queryParamExtractorquery, fileUserDataProviderhtpasswdFileProvider, htpasswdPathlocation, specsopenapi), introduced YAML inline list/element forms, updated chain/choose behavior, and many before/after YAML examples for properties, openapi, setCookie, balancer, choose, chain, headerFilter, mutation, counter, keyTable, scopeTable, publicURL, and api.description.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • rrayst

Poem

"I’m a rabbit with a quill so spry,
hopping through YAML, giving docs a try.
Keys renamed, chains aligned, examples set—
nibble the changes, migrate without fret." 🐇

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add 7.1 migration guide' directly describes the main change—adding a migration guide for version 7.1 to the documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 7-1-migration-guide

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@christiangoerdes christiangoerdes linked an issue Feb 12, 2026 that may be closed by this pull request

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Fix all issues with AI agents
In `@docs/MIGRATION-GUIDE.md`:
- Line 77: Remove the stray tilde marker on line 77 in MIGRATION-GUIDE.md by
deleting the empty line that contains only the tilde (~) so the stray annotation
is removed and the document no longer has the unnecessary blank/marker line.
- Line 30: The code example has inconsistent indentation around the HTML comment
markers; remove the extra leading spaces before the string "<!-- now -->" so it
lines up with the "<!-- before -->" marker in the same example, ensuring both
comment lines have identical leading whitespace for visual consistency.
- Around line 399-426: Reword the explanation of the choose syntax change to
make clear that the "cases:" wrapper is removed and that both "case" and
"otherwise" are now direct list items under "choose:" (with "otherwise" required
to be the final item). Update the text that currently reads "The `otherwise` is
now an item of the `case` list" to say something like: "The `choose` structure
now uses a single list containing both `case` and `otherwise` items (without a
`cases:` wrapper). The `otherwise` must be the last item in this list." Ensure
the examples reflect this exact structure (change any `cases:` blocks to the new
direct-list form) and keep references to `choose`, `case`, `otherwise`, and
`cases:` so reviewers can locate the change.
🧹 Nitpick comments (2)
docs/MIGRATION-GUIDE.md (2)

260-260: Consider lowercasing "Attribute" for consistency.

"Attribute" is capitalized mid-sentence on line 260, which is inconsistent with standard technical documentation conventions. Unless these are specific type names in the codebase, consider using lowercase for better readability.


428-447: Consider clarifying the structural change beyond renaming.

Line 430 states "Renamed specs to openapi," but the change is more than a simple rename. The structure is also flattened:

  • Old: specs: → list of - openapi: objects
  • New: openapi: → direct list of configurations

Consider adding: "The specs key is renamed to openapi, and the nested openapi: wrapper for each list item is removed."

This helps users understand they need to adjust the structure, not just rename the key.

Comment thread docs/MIGRATION-GUIDE.md
Comment thread docs/MIGRATION-GUIDE.md
Comment thread docs/MIGRATION-GUIDE.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/MIGRATION-GUIDE.md`:
- Around line 354-355: The heading text has inconsistent capitalization: change
"Yaml" to "YAML" and make "Elements" lowercase ("elements") in the phrase "Yaml
configuration for Elements with exactly one configurable Attribute" so it reads
"YAML configuration for elements with exactly one configurable Attribute";
update that heading string accordingly.
🧹 Nitpick comments (2)
docs/MIGRATION-GUIDE.md (2)

215-217: Consider adding migration guidance for removed component and behavioral change.

Two areas could benefit from additional detail:

  1. Line 215: The removed MethodOverrideInterceptor lacks information about alternatives or workarounds. If no replacement exists, explicitly state that.
  2. Line 217: The groovy interceptor content-type change is a breaking behavioral change. Consider adding a brief code example showing how to manually set the content type in the script.

277-296: Remove redundant "Before:" heading.

Line 280 contains a Markdown heading "Before:" that is redundant because the YAML examples already include # before and # now inline comments. The heading adds no additional value and creates visual clutter.

📝 Proposed cleanup
 ## OpenApi
 Renamed `specs` to `openapi`. 
 
-**Before:**
 ```yaml
 # before
 api:

Comment thread docs/MIGRATION-GUIDE.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@docs/MIGRATION-GUIDE.md`:
- Around line 44-45: Update the migration guide line for `xmlSessionIdExtractor`
to hyphenate "language-based" so the description reads "Use language-based
session handling." Locate the table row containing the `xmlSessionIdExtractor`
entry and replace the phrase "Use language based session handling. See
examples/loadbalancing/4-session" with the hyphenated version while keeping the
reference to examples/loadbalancing/4-session unchanged.
- Around line 218-236: The "7.1" migration section mixes numbered and unnumbered
headings — make numbering consistent by dropping the numeric prefix in the "3.
Removed Interceptors and Plugins" heading and any other numbered subheadings
inside the 7.1 section so all subsection headings use the same style (e.g.,
change "## 3. Removed Interceptors and Plugins" to "## Removed Interceptors and
Plugins"); ensure the table and references (including the
`MethodOverrideInterceptor` row) remain unchanged and that other 7.1 subsections
follow the same non-numbered heading pattern.

Comment thread docs/MIGRATION-GUIDE.md Outdated
Comment thread docs/MIGRATION-GUIDE.md
@christiangoerdes christiangoerdes marked this pull request as ready for review February 12, 2026 11:24
@predic8 predic8 merged commit c4605e5 into master Feb 13, 2026
4 of 5 checks passed
@predic8 predic8 deleted the 7-1-migration-guide branch February 13, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migration Guide 7.1

2 participants